﻿using JNPF.Utils;
using Microsoft.AspNetCore.Builder;

namespace JNPF.Api.Common
{
    public static class WebSocketMildd
    {
        public static IApplicationBuilder UseWebSocket(this IApplicationBuilder builder)
        {
            return builder.UseMiddleware<SocketHelper.WebSocketMidWare>();
        }
    }

}
